<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body style="background-color: burlywood">
<h1>更新学生信息</h1>
<form action="/updates" method="post">
    <input type="hidden" name="studentid" value="${student.studentid}">

    年纪：<input type="radio" name="gradeid" value="1" ${flag==1?'checked':''} >一年纪
    <input type="radio" name="gradeid" value="2" ${flag==2?'checked':''}>二年纪
    <input type="radio" name="gradeid" value="3" ${flag==3?'checked':''}>三年纪<br>

    学号：<input type="text" name="studentno" value=${student.studentno}><br>
    姓名：<input type="text" name="stuname" value=${student.stuname}><br>
    年龄：<input type="text" name="stuage" value=${student.stuage}><br>

    <button type="submit">更新</button>
    <button type="reset">重置</button>
</form>
</body>
</html>
